F*** yeah it works bitches

Fixed cur pointer issues causing null pointers
Comments edited, snapshot of tree
Got case of one commit in dispatch working fine
Tweaks to dispatch for multiple cases
Fix for add function

Should fix infinite loop or whatever the
heck is going on.