Mode 2 Update

Added slider for user to change the threshold value in the background
replacement mode