rpn 5.18.2

More bug fixes due to reorganizing the code.

With all these bugs fixes, it's time to bump the version number.