Fixed up the syntax etc. of the engine.

Also made the stacktrace display "Timeout" instead of
"None" when a timeout was reached instead of a packet.

Issue #3