library went on slim fat

I just made a few variable type changes to slim down the size of the
library a bit