Added functionality for detecting network connection, merging master and video commit.