Added page alerts to layout
Database is OOP, fixed formatting, enabled sqlite compat, -r quits when
done