Build fix

Non-ASCII characters replaced in PPUThread.h
Some cleanup
Compilation fix
Compilation fix 2
Merge pull request #559 from Nekotekina/master

Build fix