Simplify footer, shift modal function around, clean up css comments