countless minor fixes and improvements
replaced zoom box by "zoom by click"
fix
removed unused reference layer support