some changes in selenium mode
small fixes
minor changes
Updated to Nikolais latest