fixed log in consistency bug
switching back to pan mode whenever shapefile is chosed
work on shapefile support; added test support