added button and shell function
made some progress toward print preview
finished printdemo-mod