1. max_frames requires int, not long 2. change image.aspect when showing time slice from linescan to auto by default (or add a switch for that)