Updated video interface and sound code (still has glitches)