Edit some code formatting to get to 80 characters.
Use return values in memcap functions.
Get rid of magic number of get_registers and don't show reserved or readonly members.