Frontend: Restore support for manual frame skipping, and slightly improve the automatic one.