Made code-image's text selectable; reorganized code; tried to add scrollbar control to emulator

Scrollbar isn't really working