Update gitignore to just ignore private dir of netbeans
Add nbproject (netbeans project dir)
Move install/setup signal handlers to hsignal.c instead of be on main.