Make Kwargs dictionary optional

* Add initial support for booleans
* Fix bugs with log

Signed-off-by: Daniel Francis <francis@sugarlabs.org>