Reduced scope of filename to parameters.  Only call update as else condition in event_loop().
Reduced scope of filename to parameters.  Only call update as else condition
in event_loop().

jefbed/xstatus,jefbed/xstatus,jefbed/xstatus,jefbed/xstatus