Persistant co

This fixes some issues with persistent COs (see commits) and makes master and headphone delay persistent.