Added function to prepend (instead of append) callback
Fixed usage of valign and halign in Frame