fixed stdout/err filename generation
warn_remaining works once more, minor formatting and minor doc fixes