Add debug abortLoop
Add IDs for debugging
Bind events manually
Fix show layout