fix deadbeef widget creation
few code enhancements