Pr 183 w/ master merged

This is #183, with master merged in, and with qless-core updated to the latest.

I'm going to review this and the qless-core PRs some more and then hopefully merge here in a bit.
sadly I can't it is odd. =) i'll ask my coworker monday. i think he might have been protecting against a nil max but i am honestly unsure.