Fix print dialog and update version number to 1.17.1