[ticket/314] Check copyright lines and fix incorrect comments

Fixes #314