Fix FCRITICALSECTION
Add error check
Fix memory leak
Optimize LoadScreen