remember tools_dock and lateral panel visibility