Fixed a number of lingering bugs.
Project completed.