Implemented error handling and refreshing. Fixed screen orientation bug. Need to implement sorting and message sending.