Merge pull request #5 from ymanCZ/sqm4

SQM4 edits
I checked the code and I think this will be good improvement for eGUI. Thanks