Fix bugs detecting when the repl is running or not
Be more lenient about platform names accepted
Don't try to load references if REPL didn't start properly
When jumping to next line, skip blank lines