Global State Management
Access the global library state
Set the global state object
| LibraryState new_state | the new global state to use | 
Set the global state object unless it is already set
| LibraryState new_state | the new global state to use | 
Query if the library is currently initialized