Bugfixes, lock system so that you can run only 1 instance of both clients once, minor changes