FF: fixes to CedrusBox code-writing