Removed an unused parameter from TOOL_BASE::getModel<T>() method.
Fixed layers switching in GAL.