Stopped from closing on startup

What it says up there. It doesn't close on startup anymore. Working on
testing my code.