preload everything so files can be static
clean up initialize
add waves.rows and some buttons