removed inner code, renamed library
Organized code turns me on.
Changed extend function to make deep copies all the time.
This is one of the most frustrating bugs I've ever dealt with.
Extend function making deep copies now

One of the most frustrating bugs I've ever encountered