spaces to tabs, hide video stuff if video writer is turned off