Fixes error on first build when bin folder is not yet in the output dir
Updates to handle multi-line errors better and handle cases where [Thread x] is not in the log message