Massive updates to the project. Many bug fixes.