more refactoring
toggling language now re-draws graph appropriately