Fixes and tweaking

Finally fixed the issues that I had with several (all?) Boolean
returning functions.

For some reason, changing exports to LongBool instead of Boolean solved
the problems. :| Weird.