* core: implemented SCOPED_TRY_LOCK macro. Specific functions are now using it instead of SCOPED_LOCK to avoid potentially locking the Borealis UI. * UI: implemented background tasks for Borealis, which call functions that now use SCOPED_TRY_LOCK.