Checking for versions before creating the REPL buffer

... so that we don't end up with a blank, useless buffer around.