Make CMainFrame::IsPlaylistEmpty const.
Use IsEmpty() instead of GetSize() or GetLength() whenever possible.
Use IsEmpty() instead of GetCount() when possible.
Use IsEmpty() instead of GetCount() whenever possible.