hiding visualizing steps in pre_train_dbn behind a check for the global DONT_VISUALIZE. define this var in a call script to prevent visualization.