Cleanup coding style and update NEWS file