Mana and timing systems added and corrected.