Refactor + fixing caching stderr in verbose mode + fixing trigger when message is on stderr instead instead of stdout