Start process of making code more generic and less MythTV-centric.