Add log panel that outputs errors and warnings in GUI. Fixes #46