Added and implemented SetFont and SetRect helper functions.