Fixed a bug that caused an error when trying to change frame orientation and no buttons had been created yet (shift-clicking a backdrop)
Switched from string.find() to string.match() for texture filtering--should be faster
Other small tweaks for performance