Small updates to coding style; removed a setuid call.