rm dead code, add stars to copyright messages