gitignore log files

Signed-off-by: Mattias Andrée <maandree@operamail.com>
improve makefile

Signed-off-by: Mattias Andrée <maandree@operamail.com>
fix window scanning

Signed-off-by: Mattias Andrée <maandree@operamail.com>
array of event handlers

Signed-off-by: Mattias Andrée <maandree@operamail.com>
alphabetical order

Signed-off-by: Mattias Andrée <maandree@operamail.com>