1) Is there a way to stop people from forking your projects?
2) Is there a way for the program to know if it has been forked (e.g. detecting name change)
Forking a project is not a bad thing. Maybe you just want to look at someone else's code. I've done it before, even amasad's done it before.
But don't worry, people don't steal your code here.