support non-interactive commands
rewrite print_data

- it was really ugly
- also move byteswapping routines to a more reasonable place
eliminate print_process_data
implement stacks command