fixups and new functions for lcd lib