Hash range search works, fixed a lot of crashes in edge cases. Made changes to scoping that caused errors.
Updated todo list