Improved playlist support
Minor fixes and improvements

Better readability
Marginal performance improvements
Corrected queue implementation