core of clear, removeAll

remove now throws NPE on null key