Changelog for 18.104.22.168:
* Fixed: Reset jQuery to WP defaults when modified by a third-party
* Fixed: Compatibility with WP jQuery Lightbox plugin
* Fixed: Compatibility with Peekaboo theme
This should correct most cases of errors where jQuery is not defined, this can occur of the current theme or an active plugin is using a jQuery version older than the once currently bundled with WordPress core.
Please see this page for more details: http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/