fixed alot of bugs

mostly dealing with selenium web objects not being found, because the
find_element_by_id function gives up before the pages seems to have
finished loading.