give logframe a name and register with admin

also some mostly whitespace changes