This note has been scattered all over the jsgui. Handling errors properly is something to tackle separately.