Set initial size according to resolution; and some notes on elisp debugging