LineCalculator: Improvements to parser, initial UI