added 'SystemUtil' class to simplify platform-dependent tasks
now correctly handling background execution while loading assets (closes #397)