spell check and clear up clutter in titanic.r