discovered app_name for current wording directory, instead of hard coding; defined HOST, PORT globally; slept only until web2py starts; used phantomjs instead of firefox
browser reverted to firefox