Added some call checks and error checks
Removed misunderstood bootid usage in get_next
Some doc tweaks