Implementation of the UpdateProject message + various code fixes.