Added mana cost bar graph, refactored Grapher