Enlarged caption field, set max input lengths to 500 (closes #24).