Fix issue #2 and made ignore widgets more robust.