RS_Commands needs QObject

RS_Commands will not compile with Qt5 without an additional include for QObject.

I also sneaked in a warning about a variable (prevSize in QG_DlgHatch::updatePreview() that's only set not used.