check for multiple instances and root check made into a function
bug fix related to is_gui
logger.error for multiple instances
Merge pull request #21 from KanoComputing/fixes

check_for_multiple_instances(), root_check()