Added isEndlees => Reduced overriding of methods in SP, MP
minor changes: public -> private
Rewritten using of JFrames