Fixed an issue with removing the os user from os groups when deleting.
Added comments.
Added removal of OS groups when deleting a project.