Added min and max options, general cleanups

Users can now set a min and max value (in px only) to stop clients from going too small or too big.