Threads are now stopped when no server or client can be initialized
Cleaned up code concerning code conventions