rm debug prints
only alwaysexpand the layer control on screen dimensions that are large enough to show it without obscuring a large part of the map itself