Added a proper region and station selector for Market Analyzer.
Fixed some bugs in the DB. fixed #45