Code whitespace cleanup, and full malloc removal.