Custom keyboard shortcuts and cleanup