Made sure disconnecting from device or prismatik on pause does not send extra useless messages
Adds the file support to save settings and had to set most of the exports to api