add open source licences to source files
add a LICENSE file
move comment closer to the thing it commets
add comment to potentially support clientspam
comment for possibly doing save-state and load-state on colors