Cosmetic changes to libsampler.cpp