Fixed bug with extraxting escaped code. Should fix most of #11, but keep testing.