kfserver/ut2k4server logfile improvement

fixed issue ${logfile} is not defined #131
General code tidy up. Trimmed training spaces and moved fn_scriptlog
outputs under there respective log messages to screen instead of waiting
1 second to output to log file