Added some code to the knapping gui so that resizing the gui does not allow for infinite knapping.