Added delegate for closing windows

... and moved the framerate cap hack to the App.OnStartup event handler.
Added class for temporary storage of IResources

(Moved away from the rudimentary implementation in the static class
Models.Temp.References)