buffer size to be stored as uint, device.name() public, and paran -> param

Few cleanups. Nothing major going on, but it's a nice touch to be able to get device name. And size of things should be unsigned, as negative size has no valid semantics?