Fixed Rhino engine implementation

This pull request fixes several issues with the current Rhino engine implementation (#20, #21).
It also includes a workaround for executing Trireme on Windows though it is included mainly because I don't how to take that commit out of this PR... I don't think it hurts though, and could be reverted once Trireme is fixed.