cleaning up unused commented out code
more cleanup
made a signal for clear polygons