Modified Event Queue handles cases inwhich a new event is added and update is called while processing another Event, would cause a recursive loop. Updated Renderer to handle deletion of Render States better. Previously, deleting a state could cause alignment issues between the old and new state.