Added async functionality, checks for background processes, ansi proof ...