Fixed open library (global = false by default now).