Refactor variable handling in Ship.
Add minor parameters in the ship details dialog.