GCM ID is large. enable multi-line editor
TODO: set meaningful result code
check for invalid intent contents
code reshuffled, same logic