improve handleDebug

- now catching more exceptions
- exceptions are now cleaner to read in the debug.txt
automatically load material and entity language files
fix error handling with unusable cache files
add inventory switch
new build file
complete inventory module switching
add login persistence
fix death log fixes YASP-86
Merge branch 'feature-portal' into development