renamed engine prepareToPlay to avoid confuaion
cleaned up debugging, support new patcher proc.