Minor tweaks to wait for elements and AJAX events where appropriate
Merge pull request #262 from seandst/wait-tweaks

Minor tweaks to wait for elements and AJAX events where appropriate