Add stuff from 2010. Updates and workarounds.
Save ram with a named cursor for the db.