Adds some SC.RunLoop begin & end to avoid developer warnings

I was going to publish some unit tests to show an issue with SC.MenuPane but the issue was actually related to SC.AutoResizeMenuPane. 
While I was adding tests, I've also added some SC.RunLoop.begin(); & SC.RunLoop.end(); because the console was full of warning. So I just publish this changes here.