Sample framework fixes

Run button now works. Snippet is loaded if no theme is provided, as otherwise we can't tell which theme to use.

Framework works in IE, from version 7 up. 

Nav now allows typing code when there was no code to begin with.