Merge pull request #2 from suketk/master

Clean up code
tweaked ui stuff and added progress bar stuff
tweaked ui stuff and added progress bar stuff
added create thread
reformatted and fixed functionality