Fixing bugs. Project should build correctly now.