Some small fixes and iouLib should now work well for starting an IOU and allowing it to be accessed
Signed-off-by: Delian Delchev <delian.delchev@gmail.com>