Fixes, error logging, 404 handling in panel