Finished Calculator implementation

Fixed the UI. Added support for decimal points.
Generally improved code quality.