various formatting and pretty things
starting rpc-common-errors-scan, fixed memory allocation math