Fix video loading from cache data.
Improve GPU memory releasing.
Do not create unnecessary arrays to save memory.
Fix adding of empty task.
Print splitting statistics when TRACE logging is enabled.
Improve check if logging for a given level is enabled.