fixed open/save dialog behaviour
simplified warning generation
added optional output file support
re-wrote readmes