Wrap run() over a lock

Add more genericity for local indexes but introduces crap with the F_FULL FrameNode. This has to be fixed ASAP.