destroy panels; trainingpanel fits to frame (buggy)

Try to put training panel stop button in corner and fill out frame with
panel (before it only covered the middle of the frame)
BUT the .destroy() method is raising an segmentation fault for the
mainwindowpanel (not the training panel though)
Panel switching now working.

It looks nice as well
Merge branch 'merge-dev'