Issue #482 - Added basic support for Home and End buttons (go to beginning/end of current line). Fixed the problem with divide/multiplication being needed at odd places.
Removed a couple of duplicated calls to retrieve blocks.
Merge pull request #514 from MarcinSc/develop

Issue #482