Fix pass-by-reference bug with default values.
Add preliminary support for a jqueryui theme (for #12)