remove alert debug; handle logging cyclic objects
fix select-one toggle in layer chooser for desktop browsers