fixed commented-out code in project template
minor code cleanup