Fixed some issues with exceeding the maximum and minimum values of the spinners in MainWindow

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>