things like updating from preferences and opening the file should be done outside the process call I think.  In general we are trying to have only sound processing logic in the process() functions.