More code moved to proper namespaces, check for empty canvas implemented to eliminate GUI errors.
Changes to reflect move of global settings into separate namespace and re-write of Transcript function.