prior to css
changes
mostly done. fixes req: factorial clear buttons