documented status_data received
created user preferences
added debug function and setting
debugging output for socket data
print on console.debug if exists - some usage inforation
sed debug level 4 for socket data received
added debug helper function for socket
use debug_socket helper for received events
renamed socket_debug in debug_socket - use debug_socket for emit events
moved debug functions to new file
better labels for debug
back on debug level 0 by default
added web.ui preferences page - auto load user preferences on window.load
fix arguments length - required at least 2 args
error is already dismissable via page_distribution.js
select current page in navbar
documented preferences