null check in todos
fixes in refList
just use normal inputs in todos demo instead of contenteditable to keep things simple