standardize make targets & variables.
fix some compiler warnings
standardize license (GPL2 or later implies GPL3)
proper GPL boilerplate