text cleanup, some score tweaks, logging work