Fixes for issues #26, #27, #28.

Hello Jacob!! thanks for making this incredibly awesome library. I'm so grateful!. 

Here are three fixes for the orange issues I just created.