Added getWindowTopPosition and getWindowLeftPosition functions
Fixed some documentations