Merge pull request #197 from isaacfreeman/1.0.x

Page duplication fix, and minor commits.
Fixed broken CodeMirror in theme area