Add play queue and history functions