Fixes some linux syntax issues.\nCalls XInitThreads() on linux system as very first action in main() method to enable OpenGL multi-threading GUI.\nFixes an crash, if no webcam is available and settings were changed.