Fixed issue where new plots would unexpectedly appear. Added functionality to fignum spinbox