Bugfixes waiting for external process to complete.