Don't crash when seeing a class without main method

;) Fixes Simon_043.mj