Fix append to correct location, enterkey to input message

@georgetmayorga 
indentaion