Improved notebook widget