added struct:IsValid() (to check for inf values and such)
fixed typo
don't use shortcuts in base libraries
moved file buffer helper functions to buffer template
improved debugging nvars
make sure reliable variables are synced in the right order they are updated in (by hooking onto the Set function)
invert bumpmap..
spawn light entities and set world parameters using bsp entity info