Fixed wrong room size calculation.
Improved cleaning of the environment due to deleting of offline messages.