stackdump function from PiL, for debugging purposes
implement tostring
make return types of size methods unsigned