Improve package.config and fix get_lcd_lock