Move the last bit of expensive sql cursor operation to AsyncTask. UI is so fast now!
Move message types to a standalone module shared by the clustering library and the main module.