Added cool ui code for the record interface.
Did a slight refactor.