iconGrid: Actually throw programmer errors

This way we get a backtrace.
search: Fix adding items to icon grids