static app vs real app
writing app from static app
fixing getmessages
now correctly displays userlist and chanlist returned from server
sends messages, but does not update chan correctly (array index != chanid)