Improving range selection
Finished implementing range selections and added a preferences-dialog