nextgen gallery double display and other questions

I am trying to resolve the issue where galleries display twice.
I found the bug fix and replaced code in nggfunctions.php. This worked while I was logged into my wp account but as soon as I logged in again the login screen threw several errors relating to this file?!

Also, I have been customizing the css to create a more lightbox-style layout (yanwhite.com/gallery/)
I have been trying to figure out why the spacing is wrong for the first album. I commented out all references to <div class="ngg-clear"> I could find in nggfunctions but it still appears in the code, except for the first album. Since I am just using float: left I dont need this div.

It was being caused by having 2 galleries inside an album in one case. After I changed this the page displays fine.

Really strange though, the double gallery bug has corrected (I must have changed something but cant think what!) and has been replaced by the picLens photos now not appearing. The photos appear fine in gallery lightbox and picLens itself is loading, just no photos appearing..