Fixes a bug in "windowWithTimeOrCount" where a default scheduler isn't assigned if a scheduler isn't supplied.
Merge pull request #5 from guyinthechair/2ac1113e1a63d74c8a1bd21506c8c853fab013ea

Fixes a null pointer exception if a scheduler isn't supplied to "windowWithTimeOrCount".