PMs with separate windows

Probably still a little buggy
Fixed binaryIndexOf bug wrt insertion/deletion of first element