added waits for home page
pep8 and docstring fix
Merge pull request #108 from sashakruglov/issue_105

possible fix for issue 105