Modified the frame order auto-analysis to be more fail-safe.
Almost all of the protocol is now within a try-finally block so that the execution lock will always be released.
Authored by: bugman 2014-09-12
Parent: [r25796]
Child: [r25798]