Cleanups, selection clearing is now implemented by clicking out of region, fix horizontal scroll offsets of cursors