Spring clean + texture load error event

Sorry, ignore the previous pull request, this has all three commits :)