Added point template structure. Changed signatures for window size and position related functions