using codemirror and samples update
weird weird buggyness, next is window adjust