Bug fixes

-tabs are generated correctly
-sending messages are now sent to the correct person initially