Finished getting the inter-process communication right.
Fixed Flask threading issues - first fully functioning prototype