Finished UI functions and started on game play.