refactored a lot of tinyphone.  May or may not be compatible with older clients