Refactors C program for better organization

Also, adds more descriptions and documentation in dudetray.h
Updates left mouse click on status icon to 'unlight' icon