Update patcher.py

Comments and cleanup