2 space indentation
explorer functions change to wait till DOM loads
bug fixes for duplicate Db