Formatted layout of messages output, removed unneccesary variables