Added waitForLocation and waitForNotLocation commands
Added waitTimeout option
Fixed driver closing while it was terminated already