Centered windows and refactored

- refactored to a z-index for doors instead of just storing and adding
them later as children
- centered window start up positions