Signed-off-by: Edward Wilde <ewilde@gmail.com>
Includes bugfixes for things exposed in the testing process. With this commit, the library should be good for first use.