Improved lighting abstraction and added a boolean to check for window close events