made some curses functions public
added wip debug.stepin()
made a simple userdata system to store data and logs in instead of appdata
ffi.load will now also look in OS specific dll directories (should fix libraries not being found on linux)
added the ability to set the current log file
added logging of gl calls
vfs.Write now defaults to userdata directory
"fixed" curses not showing the previous log after overriding io.write..