gitignore, core/td, core/li fixes, sample layout fixes