I discovered a bug in the new zoom to fit feature, so I recommend downloading this immediately. It also has some small new features/fixes:
MagiCam Plugin - v1.3b
Download Now(with examples) - 155KB
[ADD] - Action for changing zoom margins along with action for toggling zoom to fit.
[ADD] - Expressions for getting zoom margins.
[ADD] - Expressions for getting scroll margins.
[FIX] - Zoom to fit margins weren't maintaining the proper amount of padding between followed objects and the edge of the view.
[FIX] - "Set scroll margins" action wasn't setting scroll margins correctly.
[CHANGE] - Changed "Set margins" action to "Set scroll margins" to avoid confusion with zoom margins.
This release also comes with a zoom to fit example in the examples folder, so I highly suggest that you check it out.