lots of small fixes, added out of range reminder