minor fixes, styling. about to refactor the code.
some small fixes, escpecially date stuff
fixed bug with date stuff