Mayor gets sneak peek at new library