Partially working. Need to fix render so it actually draws.