refactoring mostly
ability to set ingame window size