demo:gridlayout, limit db query to 8 items.
sync some unfinished but non-breaking work on some issues