Factor show() and clear() in main.js
Add support for default content.
merging upstream changes from master
only return screens that have at list 1 socket attached
Merge pull request #3 from dthompson/add-defaults

set default page(s)