Moved some code around and wrote a modular debounce unit. Now need to work on using FIFOs as information passing tools. Maybe use IPCORE generator for the FIFO. Want to put a button event into a fifo and have the mainloop loop on the fifo. Same for display characters. This will make the whole system a lot easier.