Added option to enable/disable debug logging and improve windows

compatibility. Reverted outsourcing of season poster to localmedia agent. Improved recognition of release date.