LMP: make Core a true singleton.
Summary: fix segfault on proxy/merge model returning invalid idx.
Summary: removed some debugging output.