Activate major-mode when editing code-blocks
Make entire code-block a single button

This fixes a bug we had. Hitting TAB on a codeblock would move us to the
next line on the code block, instead of going to another button. Now the
entire code block is a single button, so that is fixed.