Add basic sanity check: are we running in X?
Make sure screencast can always find common.sh.
Add basic sanity check: make sure we actually did manage to find common.sh.