added: treats corrupted file headers
added: error dialogs instead of exception & stack traces