Created Level loader, fixed window not exiting when pressing X