Segmented for desktop sites only
Tidied up file

Removed unneeded lines, renamed some functions to be more clear
Merge pull request #11 from neczy/wait-for-report

Wait for report