refactored the area calculation algorithm
fixed some GUI items. Started working on the selected features iteration