Fix z-order when clicking 'assemble'

Fix a bug where the internal frames would be pushed to the foreground when
clicking the "assemble" button -- most importantly, they would be pushed in
front of the code editor, which is not re-created at this point.
Moved some static strings to static final vars.