More Windows Compilation, and Playlist

Added some definitions which I believe are necessary for compiling on windows according to various documentations.
Fixed the stuff I broke last time and got rid of all the lamdas, extended playlist functionality--at least it is testable now. Works to an extent.