added menu functionality for 'exit' option
-moved config data into its own file
-wrapped functions in a class declaration & added name == main conditional code (also had to convert FieldStorage to dict and swap local() for getattr())
-added logic to put thumbnails in a seperate cache folder
-removed 3-character extension restriction
-removed unused get_hgroup() method