Add basic plumbing for texture breakpoints

Pretty small change, also adds some locking safety in response to @Kingcom's question in the code, heh.

-[Unknown]