server: various fixes & implement next/previous
server: implement idle command