CHDK 1.3 adds "hooks" which allow Lua scripts pause the shooting process when certain point are reached. Development thread