updated overlay. Fixed minor bugs