bunch of registration stuff; update portrait to api; update toolbar to api