Added Winamax autodetection
Avoid a crash with publicDB not being declared before usage (crash due to commit 06e1398b7764291b)