Cleanups in Linux editor window code

Destroys window resources, positions window in center of screen, sets
window title.
Background color should be black