Cleanup: Run Kukes code through a dryer, add more comments.