Make map buildable with modern compilers
Fix a crash
Remove unused variable from pointer_event()
Eliminate some compiler warnings
Some source code beautifulication