Added moew state persistence
Made canvas fit the window