Configurable selenium server
Main.js missing variable definitions
Smarter error handling with backward compatibility breaks