made it work
fixed important bug where window was huge, and made the computer crash