Removed unused variable in cheats.cpp
Fixes to border probing
Modifications to shared data