Fixed new messages not opening their respective threads

Closes #23