Rewrite code editor UI and make sample apps handle their own static asset requests