Fixed buffering issue, removed unused files

Also added GPU watchdog to compensate for Windows TDR issues.
Using the more "correct" method of making the code Linux compatible.