Fixed up/down for last chat messages. Added support for running a localhost server in standalone