Fixed resources being loaded multiple times
Added method to get size of load queue
Security check