Some code cleanup, converted an AsyncTask to a Runnable, modified some checking variables so that better error handling occurs.
Created code that handles long click events and group headers and child elements for the expandable listview.