Basic changes after running .module through coder for coding standards review.