fixes for issues reported by Bill

everything now working except for empty data returned by the server ;
as soon as we have output from server we will be able to display them
in standalone mode as well