Got heightAt working!
Some cleanup.