Updated engine to singleton (currently not threadsafe but it should be initialized safely) and updated player animation to not update

frame if the game is paused..