AC_HEADER_TIME is only needed if you need to include time.h and
sys/time.h at the same time.
The truth is this codebase is an unholy mess but at least this fixes
the warnings.
This is a pretty straight forward change to remove the global front
variable and instead use a couple of accessor functions.
This hopefully will make it easier to keep track and debug when
the front screen changes.