The window mode is weird because the window gets big enough that you wouldn't notice the buttons to close/minimized etc.
But you can resize the window sort of.
Also think this enemy got stuck.
One of the many AI pathfinding issues I'm often dealing with