notify: some modularization
move unique_instance to cwin
cdda: avoid global state
move first_run to cwin
eliminate struct con_state