requesting pull of bug fixes and performance improvements that should be merged into amaya-library

It would be best to do this merge before I leave on Tuesday August 13th; I will not return until September 17th.