Factored mana clock into its own class. Added UI.