made some miscellaneous tweaks, added (C) notice