added debug param to server for localhost debugging
Settings open by default
fixed pencil cursor