expunge stupid mementos.h.tmpl (just use .h)
add back main() (not linked in by default though)
clean up ...locate_next_bundle
fix incorrect macro def of BUNDLE_SIZE_REGISTERS