Removed debug message.
Weird \
Now resets lattice when KB is cleared.
- Duplicates now cannot be inserted into lattice.
Reformatting.