YouTube Applications Version 1.2

Added the playlist functionality. With some minor bug fixes. Changed
some code around to avoid thread races.