v1.1.0: Fixed #1 Fixed #2 Fixed #3 and other bugs

Fixed a number of issues including #1, #2, and #3.