working on converting interface to bootstrap, with a dash of template cleanup