added key up and mouse up/down events, added entity layers