host controller additions

Also some gbuf functions starting to get fleshed out.