event handling refactors, more on initialization, still having issues with card layout.