Refactor
Refactor
Refactor
Bug fix

Fixed sum label printing multiple operators sequentially
Bug fix

Flag assignments were wrong way round