always clear output window when logging
don't include raw build log in log message
minor code duplication fix