added wait-for-window script
Add exception reporting and metrics ID's
Dunno why, hope this doesn't f*** me over in the long run.