added deletion controls. fixed playlist advance bug