Improved GUI and tests

Added tests and improved the GUI and logging of the application.
Same as the question above, this was replaced in the Tag folder right? With the PYTHONPATH set?