GUI: Load user-selected library properly