Fixed several bugs on all the project files.