When exporting as GIF there is no transparency and the background is simply black, it would be great to let the user choose if the background is transparent or which color to use
Yeah, the gif export needs some work. But as I mentioned in my other comment, you can set the background color under View > Set background... before exporting.