ixus40_sd300 fixes
- fixed handling of flash params
- workaround for the misbehaving time() function