Implement a few more gdb cmds and refactor in prep for the "real" work