Added anti-imagejs checks and improved filename validation for sharing
Added improved error handling for malformed avatar uploads
Fixed flag value depr math
Small bug fix in GameLevel unlock event
Added clear indication of debug mode