Protect against NPE when simulations are not properly set up.
Update to MigLayout 4.0.
Fix the layout in the Comments panel.