removed unnecessary debug assert
replaced some error logs with debug asserts
grabbed ppsspp's MemArena
added support for reading/writing to stack mem