fix paths
format
back to longpoll
some tweaks
basic actions