Continuation handler refactored; wrong hack removed

I have removed that hack I've introduced, so LookupFrame2 doesn't work again. The hack was totally wrong and introduced lots of new problems - see my mail. However, the Continuation handler is now much more understandable.