Global library, naive implementation
Use alter for ref update
Add instant redraw for global library
Update picture
Update documentation