- Added extra return code -3 for cgul_write_proxy(): permissions error Also split opening/changing ownership/mode for this, in this function - fixed number of missing variable declarations - fixed number of typos