fix notice
Fix strict notice
Add some basic tests
Remove local object cache in favor of global one
Don't open new window when clicking cancel
Fix strict notice