major progress on the max patch, now setting the mode and taking in continuous input pretty effectively