Some bug fixes, improvements and anti-cheat stuff