Add pause on exception support
Fix path and file name issues fix #26