added log-viewer, some packet fixes.