Add 'getWindow' function. #24
Minor documentation improvement.