Remove completed item from TODO.
Better ispal() function.