ecere/com/instance: Fixes for templates with third library
- Need to verify whether the order changes negatively affects any project
ecere/gfx/OpenGLDisplayDriver: Fixed memory leaks
ecere/gui/Window: Tweak to avoid wasting time on fullRender
- To review... Seemed to avoid unneeded code.