Refactored framework
- Updated framework to be cleaner
- Changed chat to use the new getbytime
- TODO: make chat scroll automatically
Fixed duplicate messages being sent

Messages would be sent more than once to the frontend due to timestamp
issues (milliseconds).  There is now an epsilon of 1 ms to account for
this error, although this is still unsafe (although unlikely to cause
problems).

Frontend & Backend now use Unix timestamps (You're welcome, Enzo).