Added a function that quickly extracts a full main dbase from an undo buffer, to pass on to render code. This will efficiently then make a render using only own memory, allowing real threading and running multiple renders at once.