Better errors from the port driver.
I think this fixes the badarith bug.

- Also clarified some variable names in aol restore.
Hid debug statement, slightly cleaner code in the " replacement stuff.

Fixes #104.