Moved all copies of SetPad and SetPadLRTB macros to a single location