Moved plugin information to globals as defines
Changed type of threadStopRequested to bool