Cops: Mall gunman expressed 'general unhappiness' in journal