working on smarter layouting triggers

warning, can cause crashes ATM