Bug Fixes and New Code

Fixed a bug that would cause the application to crash when an image
wasn't chosen.  Fixed a bug that caused the application to crash when
the openFileDialog was exited. fixed the parameter types on some
methods. created a new class to analyze the dimensions of an image.