flow control replies fully completed
fixed routing issues with staticpages
fixed test and other minor things for staticpages