Fixed binary reading/writing of longs
Added a few things