Added keyboard control and half-flash effect