Improved polys a little bit; will do another entry for scheduling stuff with promises