Fixed decimal and date bugs, added log messages to main frame.