Added (though only cursorily tested) functionality for application mixing