cleanup window constructor
set back split color bar to no-debug color
fix possible infinite loop in safe_raise_window