Add a check to WeakTable

This is probably wrong, but what debugging and results show this fixes
LuaJ crashing on boot and randomly breaking
Fix error in OsLib

give the letter not the ascii code