Remove unused for loop in new_screen
swc_manager structure was reorganized
Style
Fix return value of window_new

Since this return value was never used, it had no effect.
Window states were removed in swc
Switch to new handler API
Show new windows in screen with pointer