Added audio format options.
Fixed audio subsystem not being properly reinitialized.
Fixed old resources staying in memory after reload.