Copy dlls to demo folder

Also fix some linker warnings
Add filesystem callbacks
Fix these demos which use the textbuffer