Added bug-fixes and enhancements

Fixed an "uninitialized memory" bug causing resource loading to fail on
some systems. Added new flag to triggers to update at a faster rate.
Removed logging calls from code.