Added broadcast function
.gitignore now contains userprefs