Implemented rudimentary limits

This really needs to be updated, does not allow player to change length
on the upper end of a loop