added: some debugfiles
ignore log files
UPDATED: call my_exit() on errors
ADDED: helper my_exit(), UPDATED: call my_exit() on errors