added basic window finding, need to clean up range