make all html references to numUnissued pass captable
whitespace / bracing / remove some functions