More bug fixes, tweaks, and optimizations.
Transactions almost finished.