switch make pattern, fixes to maximise, resize
Inspector.cpp fixes