Separated video functions, added copyright notices (unix)