Message and command handling in main app