fixed some layout issues in the app
fixed double sending of messages from node