Refactored capture logic, locked display to 25fps