Added: Shows a warning dialog pop-up when attempting to do Energy
Spectrum or Depth Profile while settings have not been set.
Added: A basic check when changing measurement settings if settings are
valid (only element currently).
Fixed: Measurement Settings dialog closed after warning pop-up.