misc bits

Signed-off-by: Paul Kotz <paulk@smallstudio.com.au>