converted tabs to spaces, aligned hash rockets, adjusted formatting

Issue #1491