shorten "@orientation" to "o"; lengthen "@" to "parent_pane"
more consistent variable names and better formatting
clean up some globals,

package code_previous and coffee_body into PreviewPane, and code and
$code into project;
rename resizer_width to resizer_size
rename code to codes (since it has multiple codes)
remove pd1 and pd2, just calculate them on the fly for consistency