Added CustomPane class for future ui stuff.