Added touch support and got the on-screen buttons working.