Synchronize actions on the inspector screenshot

There was a race condition between updating the Session screenshot and
loading it into the inspector web view. Adding synchronization to these
methods seems to have resolved this issue.