Modify hardcoded clock in gui to dynamic clock.

Testing. work in progress