Added error-checking to load_options() ...

... and minimum values to VIEWPORT_X and VIEWPORT_Y