Fixed issue where retrieving the output pane writer failed if done before shell was initialized