First commit

Still WIP but got the window states and basics ready.