fix context lookup on the Model
keep context=None except for the interactive mode
preserve the context when re-connecting a client in interactive mode