updated library to fix window sizing issues, fixed code typo