icache.py add parameters to 'process' functions, fix small errors