error handling in widgets, more styling