little fix

-dynamic video mem
-clear the sources