Global function updates

Mostly more things added for the job system.