Change all tabs to 4 spaces, fixed misc formatting