main: restructured machine initialization.
main: initial debugger prompt support.